// 自动生成模板Dzx
package autocode

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// Dzx 结构体
// 如果含有time.Time 请自行import time包
type Dzx struct {
	global.GVA_MODEL
	CreatedOn   *time.Time `json:"createdOn" form:"createdOn" gorm:"column:created_on;comment:;type:timestamp"`
	ModifiedOn  *time.Time `json:"modifiedOn" form:"modifiedOn" gorm:"column:modified_on;comment:;type:timestamp"`
	Card        string     `json:"card" form:"card" gorm:"column:card;comment:;type:varchar(255);"`
	Passwd      string     `json:"passwd" form:"passwd" gorm:"column:passwd;comment:;type:varchar(255);"`
	OrderTime   string     `json:"orderTime" form:"orderTime" gorm:"column:order_time;comment:;type:varchar(255);"`
	Name        string     `json:"name" form:"name" gorm:"column:name;comment:;type:varchar(255);"`
	PhoneNumber string     `json:"phoneNumber" form:"phoneNumber" gorm:"column:phone_number;comment:;type:varchar(255);"`
	Address     string     `json:"address" form:"address" gorm:"column:address;comment:;type:varchar(255);"`
	Flag        *bool      `json:"flag" form:"flag" gorm:"column:flag;comment:;type:tinyint"`
	Order       string     `json:"order" form:"order" gorm:"column:order;comment:;type:varchar(255);"`
	Mark        *bool      `json:"mark" form:"mark" gorm:"column:mark;comment:;type:tinyint"`
	Remark      string     `json:"remark" form:"remark" gorm:"column:remark;comment:;type:varchar(255);"`
	CreatedBy   string     `json:"createdBy" form:"createdBy" gorm:"column:created_by;comment:;type:varchar(255);"`
	ModifiedBy  string     `json:"modifiedBy" form:"modifiedBy" gorm:"column:modified_by;comment:;type:varchar(255);"`
	Count       *int       `json:"count" form:"count" gorm:"column:count;comment:;type:int"`
}

// TableName Dzx 表名
func (Dzx) TableName() string {
	return "tbl_dzx"
}
